package com.masterrabbit.mapper;

import java.util.List;
import com.masterrabbit.domain.EmergencyRescueRecords;

/**
 * 应急救援记录Mapper接口
 * 
 * @author laotu
 * @date 2025-03-19
 */
public interface EmergencyRescueRecordsMapper 
{
    /**
     * 查询应急救援记录
     * 
     * @param rescueId 应急救援记录主键
     * @return 应急救援记录
     */
    public EmergencyRescueRecords selectEmergencyRescueRecordsByRescueId(Long rescueId);

    /**
     * 查询应急救援记录列表
     * 
     * @param emergencyRescueRecords 应急救援记录
     * @return 应急救援记录集合
     */
    public List<EmergencyRescueRecords> selectEmergencyRescueRecordsList(EmergencyRescueRecords emergencyRescueRecords);

    /**
     * 新增应急救援记录
     * 
     * @param emergencyRescueRecords 应急救援记录
     * @return 结果
     */
    public int insertEmergencyRescueRecords(EmergencyRescueRecords emergencyRescueRecords);

    /**
     * 修改应急救援记录
     * 
     * @param emergencyRescueRecords 应急救援记录
     * @return 结果
     */
    public int updateEmergencyRescueRecords(EmergencyRescueRecords emergencyRescueRecords);

    /**
     * 删除应急救援记录
     * 
     * @param rescueId 应急救援记录主键
     * @return 结果
     */
    public int deleteEmergencyRescueRecordsByRescueId(Long rescueId);

    /**
     * 批量删除应急救援记录
     * 
     * @param rescueIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEmergencyRescueRecordsByRescueIds(Long[] rescueIds);
}
